package com.rf.business.model.demo;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Demo {
    private String id;

    private String name;

    private Integer buildPeriod;

    private Integer operatePeriod;
    @DateTimeFormat(pattern = "yyyy-MM-dd")  
    private Date startYear;

    private String operatorStatus;

    private String initAirProvince;

    private BigDecimal initAirPrice;

    private String outAirProvince;

    private BigDecimal outAirPrice;

    private String operator;

    private Date operatorDate;

    public Demo(String id, String name, Integer buildPeriod, Integer operatePeriod, Date startYear, String operatorStatus, String initAirProvince, BigDecimal initAirPrice, String outAirProvince, BigDecimal outAirPrice, String operator, Date operatorDate) {
        this.id = id;
        this.name = name;
        this.buildPeriod = buildPeriod;
        this.operatePeriod = operatePeriod;
        this.startYear = startYear;
        this.operatorStatus = operatorStatus;
        this.initAirProvince = initAirProvince;
        this.initAirPrice = initAirPrice;
        this.outAirProvince = outAirProvince;
        this.outAirPrice = outAirPrice;
        this.operator = operator;
        this.operatorDate = operatorDate;
    }

    public Demo() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getBuildPeriod() {
        return buildPeriod;
    }

    public void setBuildPeriod(Integer buildPeriod) {
        this.buildPeriod = buildPeriod;
    }

    public Integer getOperatePeriod() {
        return operatePeriod;
    }

    public void setOperatePeriod(Integer operatePeriod) {
        this.operatePeriod = operatePeriod;
    }
    @DateTimeFormat(pattern = "yyyy-MM-dd")  
    public Date getStartYear() {
        return startYear;
    }

    public void setStartYear(Date startYear) {
        this.startYear = startYear;
    }

    public String getoperatorStatus() {
        return operatorStatus;
    }

    public void setoperatorStatus(String operatorStatus) {
        this.operatorStatus = operatorStatus;
    }

    public String getInitAirProvince() {
        return initAirProvince;
    }

    public void setInitAirProvince(String initAirProvince) {
        this.initAirProvince = initAirProvince == null ? null : initAirProvince.trim();
    }

    public BigDecimal getInitAirPrice() {
        return initAirPrice;
    }

    public void setInitAirPrice(BigDecimal initAirPrice) {
        this.initAirPrice = initAirPrice;
    }

    public String getOutAirProvince() {
        return outAirProvince;
    }

    public void setOutAirProvince(String outAirProvince) {
        this.outAirProvince = outAirProvince == null ? null : outAirProvince.trim();
    }

    public BigDecimal getOutAirPrice() {
        return outAirPrice;
    }

    public void setOutAirPrice(BigDecimal outAirPrice) {
        this.outAirPrice = outAirPrice;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getOperatorDate() {
        return operatorDate;
    }

    public void setOperatorDate(Date operatorDate) {
        this.operatorDate = operatorDate;
    }
}